package com.yogurt.edu.mapper;

import com.yogurt.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yogurt.edu.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author yogurt
 * @since 2020-07-10
 */
public interface CourseMapper extends BaseMapper<Course> {

    //根据course的id查询课程的基本信息
    CoursePublishVo getCoursePublish(String courseId);
}
